docs: Fix the override for GdkAtom
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 21 May 2019 13:27:33 +0000 (14:27 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 21 May 2019 13:31:41 +0000 (14:31 +0100)
GdkAtom is a typedef to a pointer to an opaque structure. We need to
tell GTK-Doc how to override it, so that the documentation is accurate.

Fixes: #302
docs/reference/gdk/gdk4-overrides.txt

index 3ffff9ccd829db3a70efcdd8f4c23c9ff28cd9e9..77dd4d07be712dec207e77c3f2142c021f0a8895 100644 (file)
@@ -1,8 +1,9 @@
 
 # GdkAtom is an opaque typedef
-<STRUCT>
+<TYPEDEF>
 <NAME>GdkAtom</NAME>
-</STRUCT>
+typedef struct _GdkAtom *GdkAtom;
+</TYPEDEF>
 
 <MACRO>
 <NAME>GDK_WINDOWING_X11</NAME>